.class public Lcom/esfile/screen/recorder/player/DuVideoPlayer;
.super Lcom/esfile/screen/recorder/player/h;
.source "DuVideoPlayer.java"


# instance fields
.field private h:Lcom/esfile/screen/recorder/player/DuVideoView;

.field private i:Lcom/esfile/screen/recorder/player/controller/MediaController;

.field private j:Ljava/lang/String;

.field private k:Landroid/media/MediaPlayer$OnPreparedListener;

.field private l:Landroid/media/MediaPlayer$OnInfoListener;

.field private m:Landroid/media/MediaPlayer$OnCompletionListener;

.field private n:Lcom/esfile/screen/recorder/player/DuVideoView$h;

.field private o:Landroid/media/MediaPlayer$OnPreparedListener;

.field private p:Landroid/media/MediaPlayer$OnCompletionListener;

.field private q:Lcom/esfile/screen/recorder/player/DuVideoView$h;

.field private r:Landroid/media/MediaPlayer$OnInfoListener;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    .line 2
    invoke-direct {p0, p1, p2, v0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/player/h;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 4
    new-instance p1, Lcom/esfile/screen/recorder/player/DuVideoPlayer$b;

    invoke-direct {p1, p0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer$b;-><init>(Lcom/esfile/screen/recorder/player/DuVideoPlayer;)V

    iput-object p1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->k:Landroid/media/MediaPlayer$OnPreparedListener;

    .line 5
    new-instance p1, Lcom/esfile/screen/recorder/player/DuVideoPlayer$c;

    invoke-direct {p1, p0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer$c;-><init>(Lcom/esfile/screen/recorder/player/DuVideoPlayer;)V

    iput-object p1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->l:Landroid/media/MediaPlayer$OnInfoListener;

    .line 6
    new-instance p1, Lcom/esfile/screen/recorder/player/DuVideoPlayer$d;

    invoke-direct {p1, p0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer$d;-><init>(Lcom/esfile/screen/recorder/player/DuVideoPlayer;)V

    iput-object p1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->m:Landroid/media/MediaPlayer$OnCompletionListener;

    .line 7
    new-instance p1, Lcom/esfile/screen/recorder/player/DuVideoPlayer$e;

    invoke-direct {p1, p0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer$e;-><init>(Lcom/esfile/screen/recorder/player/DuVideoPlayer;)V

    iput-object p1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->n:Lcom/esfile/screen/recorder/player/DuVideoView$h;

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/player/DuVideoPlayer;)Lcom/esfile/screen/recorder/player/controller/MediaController;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    return-object p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/player/DuVideoPlayer;)Landroid/media/MediaPlayer$OnPreparedListener;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->o:Landroid/media/MediaPlayer$OnPreparedListener;

    return-object p0
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/player/DuVideoPlayer;)Landroid/media/MediaPlayer$OnInfoListener;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->r:Landroid/media/MediaPlayer$OnInfoListener;

    return-object p0
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/player/DuVideoPlayer;)Landroid/media/MediaPlayer$OnCompletionListener;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->p:Landroid/media/MediaPlayer$OnCompletionListener;

    return-object p0
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/player/DuVideoPlayer;)Lcom/esfile/screen/recorder/player/DuVideoView$h;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->q:Lcom/esfile/screen/recorder/player/DuVideoView$h;

    return-object p0
.end method

.method private getVideoMetaData()Ljava/util/Map;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->j:Ljava/lang/String;

    invoke-static {v0}, Lcom/esfile/screen/recorder/media/util/u;->b(Ljava/lang/String;)Ljava/util/Map;

    move-result-object v0

    .line 2
    :try_start_0
    new-instance v1, Ljava/io/File;

    iget-object v2, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->j:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v1}, Les/bd;->a(Ljava/io/File;)Les/bd;

    move-result-object v1

    if-eqz v1, :cond_4

    .line 3
    invoke-virtual {v1}, Les/bd;->d()Ljava/lang/String;

    move-result-object v2

    .line 4
    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    const-string v3, "oriBrokenFileName"

    .line 5
    invoke-interface {v0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 6
    :cond_0
    invoke-virtual {v1}, Les/bd;->b()Lcom/esfile/screen/recorder/media/util/y;

    move-result-object v2

    if-eqz v2, :cond_1

    const-string v3, "firstRepairSize"

    .line 7
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/media/util/y;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 8
    :cond_1
    invoke-virtual {v1}, Les/bd;->c()Lcom/esfile/screen/recorder/media/util/y;

    move-result-object v2

    if-eqz v2, :cond_2

    const-string v3, "lastRepairSize"

    .line 9
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/media/util/y;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_2
    const-string v2, "firstRepairFrameRate"

    .line 10
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Les/bd;->a()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-interface {v0, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v2, "recordMode"

    .line 11
    invoke-virtual {v1}, Les/bd;->e()I

    move-result v1

    if-gtz v1, :cond_3

    const-string v1, "advanced"

    goto :goto_0

    :cond_3
    const-string v1, "basic"

    .line 12
    :goto_0
    invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_4
    return-object v0
.end method


# virtual methods
.method protected b()V
    .locals 2

    .line 5
    invoke-super {p0}, Lcom/esfile/screen/recorder/player/h;->b()V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/h;->g:Lcom/esfile/screen/recorder/player/h$c;

    if-eqz v0, :cond_0

    const/4 v1, 0x4

    .line 7
    invoke-interface {v0, v1}, Lcom/esfile/screen/recorder/player/h$c;->d(I)V

    :cond_0
    return-void
.end method

.method protected b(I)V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/DuVideoView;->seekTo(I)V

    .line 3
    iget p1, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    const/4 v0, 0x3

    if-ne p1, v0, :cond_0

    const/4 p1, 0x4

    .line 4
    iput p1, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    :cond_0
    return-void
.end method

.method protected c()Z
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/DuVideoView;->isPlaying()Z

    move-result v0

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method protected e()V
    .locals 4

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->getCurrentPosition()I

    move-result v0

    .line 3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->getDuration()I

    move-result v1

    .line 4
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->getBufferPercentage()I

    move-result v2

    .line 5
    iget-object v3, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    invoke-virtual {v3, v0, v1, v2}, Lcom/esfile/screen/recorder/player/controller/a;->a(III)V

    return-void
.end method

.method protected g()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/player/h;->g()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/h;->g:Lcom/esfile/screen/recorder/player/h$c;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 3
    invoke-interface {v0, v1}, Lcom/esfile/screen/recorder/player/h$c;->d(I)V

    :cond_0
    return-void
.end method

.method protected getBufferPercentage()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/DuVideoView;->getBufferPercentage()I

    move-result v0

    return v0
.end method

.method protected getCurrentPosition()I
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/DuVideoView;->getCurrentPosition()I

    move-result v0

    .line 2
    iget v1, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    const/4 v2, 0x3

    if-ne v1, v2, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->getDuration()I

    move-result v0

    :cond_0
    return v0
.end method

.method protected getDuration()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/DuVideoView;->getDuration()I

    move-result v0

    return v0
.end method

.method protected getMediaController()Landroid/view/View;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    return-object v0
.end method

.method protected h()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->c()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/controller/MediaController;->setPlayState(Z)V

    return-void
.end method

.method protected i()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/DuVideoView;->pause()V

    const/4 v0, 0x0

    .line 2
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/player/h;->a(I)V

    return-void
.end method

.method protected j()V
    .locals 2

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    const/4 v1, 0x2

    if-eq v0, v1, :cond_0

    const/4 v0, 0x0

    .line 2
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->b(I)V

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/DuVideoView;->start()V

    const/16 v0, 0xbb8

    .line 4
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/player/h;->a(I)V

    .line 5
    iput v1, p0, Lcom/esfile/screen/recorder/player/h;->a:I

    return-void
.end method

.method public k()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/DuVideoView;->pause()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/DuVideoView;->a()V

    return-void
.end method

.method protected onFinishInflate()V
    .locals 2

    .line 1
    invoke-super {p0}, Landroid/widget/FrameLayout;->onFinishInflate()V

    .line 2
    sget v0, Les/x4;->local_player_video_view:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/player/DuVideoView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->k:Landroid/media/MediaPlayer$OnPreparedListener;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/DuVideoView;->setOnPreparedListener(Landroid/media/MediaPlayer$OnPreparedListener;)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->m:Landroid/media/MediaPlayer$OnCompletionListener;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/DuVideoView;->setOnCompletionListener(Landroid/media/MediaPlayer$OnCompletionListener;)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->l:Landroid/media/MediaPlayer$OnInfoListener;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/DuVideoView;->setOnInfoListener(Landroid/media/MediaPlayer$OnInfoListener;)V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    iget-object v1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->n:Lcom/esfile/screen/recorder/player/DuVideoView$h;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/DuVideoView;->setOnErrorListener(Lcom/esfile/screen/recorder/player/DuVideoView$h;)V

    .line 7
    sget v0, Les/x4;->local_player_controller:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/player/controller/MediaController;

    iput-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    .line 8
    new-instance v1, Lcom/esfile/screen/recorder/player/DuVideoPlayer$a;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/player/DuVideoPlayer$a;-><init>(Lcom/esfile/screen/recorder/player/DuVideoPlayer;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/controller/a;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1

    .line 1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_1

    .line 2
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/player/h;->c:Z

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/h;->a()V

    goto :goto_0

    .line 4
    :cond_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/player/h;->f()V

    .line 5
    :cond_1
    :goto_0
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result p1

    return p1
.end method

.method public setOnBackClickListener(Landroid/view/View$OnClickListener;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/controller/MediaController;->setOnBackClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public setOnCompletionListener(Landroid/media/MediaPlayer$OnCompletionListener;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->p:Landroid/media/MediaPlayer$OnCompletionListener;

    return-void
.end method

.method public setOnCutClickListener(Landroid/view/View$OnClickListener;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/controller/MediaController;->setOnCutClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public setOnDeleteClickListener(Landroid/view/View$OnClickListener;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/controller/MediaController;->setOnDeleteClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public setOnErrorListener(Lcom/esfile/screen/recorder/player/DuVideoView$h;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->q:Lcom/esfile/screen/recorder/player/DuVideoView$h;

    return-void
.end method

.method public setOnInfoListener(Landroid/media/MediaPlayer$OnInfoListener;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->r:Landroid/media/MediaPlayer$OnInfoListener;

    return-void
.end method

.method public setOnPauseClickListener(Landroid/view/View$OnClickListener;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/controller/a;->setOnPauseClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public setOnPreparedListener(Landroid/media/MediaPlayer$OnPreparedListener;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->o:Landroid/media/MediaPlayer$OnPreparedListener;

    return-void
.end method

.method public setOnShareClickListener(Landroid/view/View$OnClickListener;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/controller/MediaController;->setOnShareClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public setPlayBtnVisibility(Z)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->i:Lcom/esfile/screen/recorder/player/controller/MediaController;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/controller/MediaController;->setPlayBtnVisibility(Z)V

    :cond_0
    return-void
.end method

.method public setVideoPath(Ljava/lang/String;)V
    .locals 1

    .line 1
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 2
    :cond_0
    iput-object p1, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->j:Ljava/lang/String;

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/DuVideoView;->setVideoPath(Ljava/lang/String;)V

    return-void
.end method

.method public setVideoURI(Landroid/net/Uri;)V
    .locals 1

    if-nez p1, :cond_0

    return-void

    .line 1
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/player/DuVideoPlayer;->h:Lcom/esfile/screen/recorder/player/DuVideoView;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/player/DuVideoView;->setVideoURI(Landroid/net/Uri;)V

    return-void
.end method
